package com.leesche.zcsp.node.web.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class PubDevConfigParamCriteria {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public PubDevConfigParamCriteria() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andConfparamidIsNull() {
            addCriterion("confParamId is null");
            return (Criteria) this;
        }

        public Criteria andConfparamidIsNotNull() {
            addCriterion("confParamId is not null");
            return (Criteria) this;
        }

        public Criteria andConfparamidEqualTo(Long value) {
            addCriterion("confParamId =", value, "confparamid");
            return (Criteria) this;
        }

        public Criteria andConfparamidNotEqualTo(Long value) {
            addCriterion("confParamId <>", value, "confparamid");
            return (Criteria) this;
        }

        public Criteria andConfparamidGreaterThan(Long value) {
            addCriterion("confParamId >", value, "confparamid");
            return (Criteria) this;
        }

        public Criteria andConfparamidGreaterThanOrEqualTo(Long value) {
            addCriterion("confParamId >=", value, "confparamid");
            return (Criteria) this;
        }

        public Criteria andConfparamidLessThan(Long value) {
            addCriterion("confParamId <", value, "confparamid");
            return (Criteria) this;
        }

        public Criteria andConfparamidLessThanOrEqualTo(Long value) {
            addCriterion("confParamId <=", value, "confparamid");
            return (Criteria) this;
        }

        public Criteria andConfparamidIn(List<Long> values) {
            addCriterion("confParamId in", values, "confparamid");
            return (Criteria) this;
        }

        public Criteria andConfparamidNotIn(List<Long> values) {
            addCriterion("confParamId not in", values, "confparamid");
            return (Criteria) this;
        }

        public Criteria andConfparamidBetween(Long value1, Long value2) {
            addCriterion("confParamId between", value1, value2, "confparamid");
            return (Criteria) this;
        }

        public Criteria andConfparamidNotBetween(Long value1, Long value2) {
            addCriterion("confParamId not between", value1, value2, "confparamid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidIsNull() {
            addCriterion("DeviceTypeID is null");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidIsNotNull() {
            addCriterion("DeviceTypeID is not null");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidEqualTo(Long value) {
            addCriterion("DeviceTypeID =", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidNotEqualTo(Long value) {
            addCriterion("DeviceTypeID <>", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidGreaterThan(Long value) {
            addCriterion("DeviceTypeID >", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidGreaterThanOrEqualTo(Long value) {
            addCriterion("DeviceTypeID >=", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidLessThan(Long value) {
            addCriterion("DeviceTypeID <", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidLessThanOrEqualTo(Long value) {
            addCriterion("DeviceTypeID <=", value, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidIn(List<Long> values) {
            addCriterion("DeviceTypeID in", values, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidNotIn(List<Long> values) {
            addCriterion("DeviceTypeID not in", values, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidBetween(Long value1, Long value2) {
            addCriterion("DeviceTypeID between", value1, value2, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andDevicetypeidNotBetween(Long value1, Long value2) {
            addCriterion("DeviceTypeID not between", value1, value2, "devicetypeid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidIsNull() {
            addCriterion("ParamGroupId is null");
            return (Criteria) this;
        }

        public Criteria andParamgroupidIsNotNull() {
            addCriterion("ParamGroupId is not null");
            return (Criteria) this;
        }

        public Criteria andParamgroupidEqualTo(Long value) {
            addCriterion("ParamGroupId =", value, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidNotEqualTo(Long value) {
            addCriterion("ParamGroupId <>", value, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidGreaterThan(Long value) {
            addCriterion("ParamGroupId >", value, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidGreaterThanOrEqualTo(Long value) {
            addCriterion("ParamGroupId >=", value, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidLessThan(Long value) {
            addCriterion("ParamGroupId <", value, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidLessThanOrEqualTo(Long value) {
            addCriterion("ParamGroupId <=", value, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidIn(List<Long> values) {
            addCriterion("ParamGroupId in", values, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidNotIn(List<Long> values) {
            addCriterion("ParamGroupId not in", values, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidBetween(Long value1, Long value2) {
            addCriterion("ParamGroupId between", value1, value2, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andParamgroupidNotBetween(Long value1, Long value2) {
            addCriterion("ParamGroupId not between", value1, value2, "paramgroupid");
            return (Criteria) this;
        }

        public Criteria andDevparamnameIsNull() {
            addCriterion("devParamName is null");
            return (Criteria) this;
        }

        public Criteria andDevparamnameIsNotNull() {
            addCriterion("devParamName is not null");
            return (Criteria) this;
        }

        public Criteria andDevparamnameEqualTo(String value) {
            addCriterion("devParamName =", value, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameNotEqualTo(String value) {
            addCriterion("devParamName <>", value, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameGreaterThan(String value) {
            addCriterion("devParamName >", value, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameGreaterThanOrEqualTo(String value) {
            addCriterion("devParamName >=", value, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameLessThan(String value) {
            addCriterion("devParamName <", value, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameLessThanOrEqualTo(String value) {
            addCriterion("devParamName <=", value, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameLike(String value) {
            addCriterion("devParamName like", value, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameNotLike(String value) {
            addCriterion("devParamName not like", value, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameIn(List<String> values) {
            addCriterion("devParamName in", values, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameNotIn(List<String> values) {
            addCriterion("devParamName not in", values, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameBetween(String value1, String value2) {
            addCriterion("devParamName between", value1, value2, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamnameNotBetween(String value1, String value2) {
            addCriterion("devParamName not between", value1, value2, "devparamname");
            return (Criteria) this;
        }

        public Criteria andDevparamunitIsNull() {
            addCriterion("devParamUnit is null");
            return (Criteria) this;
        }

        public Criteria andDevparamunitIsNotNull() {
            addCriterion("devParamUnit is not null");
            return (Criteria) this;
        }

        public Criteria andDevparamunitEqualTo(String value) {
            addCriterion("devParamUnit =", value, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitNotEqualTo(String value) {
            addCriterion("devParamUnit <>", value, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitGreaterThan(String value) {
            addCriterion("devParamUnit >", value, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitGreaterThanOrEqualTo(String value) {
            addCriterion("devParamUnit >=", value, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitLessThan(String value) {
            addCriterion("devParamUnit <", value, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitLessThanOrEqualTo(String value) {
            addCriterion("devParamUnit <=", value, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitLike(String value) {
            addCriterion("devParamUnit like", value, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitNotLike(String value) {
            addCriterion("devParamUnit not like", value, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitIn(List<String> values) {
            addCriterion("devParamUnit in", values, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitNotIn(List<String> values) {
            addCriterion("devParamUnit not in", values, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitBetween(String value1, String value2) {
            addCriterion("devParamUnit between", value1, value2, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andDevparamunitNotBetween(String value1, String value2) {
            addCriterion("devParamUnit not between", value1, value2, "devparamunit");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalIsNull() {
            addCriterion("inDevParamVal is null");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalIsNotNull() {
            addCriterion("inDevParamVal is not null");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalEqualTo(Integer value) {
            addCriterion("inDevParamVal =", value, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalNotEqualTo(Integer value) {
            addCriterion("inDevParamVal <>", value, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalGreaterThan(Integer value) {
            addCriterion("inDevParamVal >", value, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalGreaterThanOrEqualTo(Integer value) {
            addCriterion("inDevParamVal >=", value, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalLessThan(Integer value) {
            addCriterion("inDevParamVal <", value, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalLessThanOrEqualTo(Integer value) {
            addCriterion("inDevParamVal <=", value, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalIn(List<Integer> values) {
            addCriterion("inDevParamVal in", values, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalNotIn(List<Integer> values) {
            addCriterion("inDevParamVal not in", values, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalBetween(Integer value1, Integer value2) {
            addCriterion("inDevParamVal between", value1, value2, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andIndevparamvalNotBetween(Integer value1, Integer value2) {
            addCriterion("inDevParamVal not between", value1, value2, "indevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalIsNull() {
            addCriterion("outDevParamVal is null");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalIsNotNull() {
            addCriterion("outDevParamVal is not null");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalEqualTo(Integer value) {
            addCriterion("outDevParamVal =", value, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalNotEqualTo(Integer value) {
            addCriterion("outDevParamVal <>", value, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalGreaterThan(Integer value) {
            addCriterion("outDevParamVal >", value, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalGreaterThanOrEqualTo(Integer value) {
            addCriterion("outDevParamVal >=", value, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalLessThan(Integer value) {
            addCriterion("outDevParamVal <", value, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalLessThanOrEqualTo(Integer value) {
            addCriterion("outDevParamVal <=", value, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalIn(List<Integer> values) {
            addCriterion("outDevParamVal in", values, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalNotIn(List<Integer> values) {
            addCriterion("outDevParamVal not in", values, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalBetween(Integer value1, Integer value2) {
            addCriterion("outDevParamVal between", value1, value2, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andOutdevparamvalNotBetween(Integer value1, Integer value2) {
            addCriterion("outDevParamVal not between", value1, value2, "outdevparamval");
            return (Criteria) this;
        }

        public Criteria andCommidIsNull() {
            addCriterion("commid is null");
            return (Criteria) this;
        }

        public Criteria andCommidIsNotNull() {
            addCriterion("commid is not null");
            return (Criteria) this;
        }

        public Criteria andCommidEqualTo(Integer value) {
            addCriterion("commid =", value, "commid");
            return (Criteria) this;
        }

        public Criteria andCommidNotEqualTo(Integer value) {
            addCriterion("commid <>", value, "commid");
            return (Criteria) this;
        }

        public Criteria andCommidGreaterThan(Integer value) {
            addCriterion("commid >", value, "commid");
            return (Criteria) this;
        }

        public Criteria andCommidGreaterThanOrEqualTo(Integer value) {
            addCriterion("commid >=", value, "commid");
            return (Criteria) this;
        }

        public Criteria andCommidLessThan(Integer value) {
            addCriterion("commid <", value, "commid");
            return (Criteria) this;
        }

        public Criteria andCommidLessThanOrEqualTo(Integer value) {
            addCriterion("commid <=", value, "commid");
            return (Criteria) this;
        }

        public Criteria andCommidIn(List<Integer> values) {
            addCriterion("commid in", values, "commid");
            return (Criteria) this;
        }

        public Criteria andCommidNotIn(List<Integer> values) {
            addCriterion("commid not in", values, "commid");
            return (Criteria) this;
        }

        public Criteria andCommidBetween(Integer value1, Integer value2) {
            addCriterion("commid between", value1, value2, "commid");
            return (Criteria) this;
        }

        public Criteria andCommidNotBetween(Integer value1, Integer value2) {
            addCriterion("commid not between", value1, value2, "commid");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalIsNull() {
            addCriterion("DevParamDefVal is null");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalIsNotNull() {
            addCriterion("DevParamDefVal is not null");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalEqualTo(Integer value) {
            addCriterion("DevParamDefVal =", value, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalNotEqualTo(Integer value) {
            addCriterion("DevParamDefVal <>", value, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalGreaterThan(Integer value) {
            addCriterion("DevParamDefVal >", value, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalGreaterThanOrEqualTo(Integer value) {
            addCriterion("DevParamDefVal >=", value, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalLessThan(Integer value) {
            addCriterion("DevParamDefVal <", value, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalLessThanOrEqualTo(Integer value) {
            addCriterion("DevParamDefVal <=", value, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalIn(List<Integer> values) {
            addCriterion("DevParamDefVal in", values, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalNotIn(List<Integer> values) {
            addCriterion("DevParamDefVal not in", values, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalBetween(Integer value1, Integer value2) {
            addCriterion("DevParamDefVal between", value1, value2, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andDevparamdefvalNotBetween(Integer value1, Integer value2) {
            addCriterion("DevParamDefVal not between", value1, value2, "devparamdefval");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlIsNull() {
            addCriterion("ParamVidioURL is null");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlIsNotNull() {
            addCriterion("ParamVidioURL is not null");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlEqualTo(String value) {
            addCriterion("ParamVidioURL =", value, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlNotEqualTo(String value) {
            addCriterion("ParamVidioURL <>", value, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlGreaterThan(String value) {
            addCriterion("ParamVidioURL >", value, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlGreaterThanOrEqualTo(String value) {
            addCriterion("ParamVidioURL >=", value, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlLessThan(String value) {
            addCriterion("ParamVidioURL <", value, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlLessThanOrEqualTo(String value) {
            addCriterion("ParamVidioURL <=", value, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlLike(String value) {
            addCriterion("ParamVidioURL like", value, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlNotLike(String value) {
            addCriterion("ParamVidioURL not like", value, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlIn(List<String> values) {
            addCriterion("ParamVidioURL in", values, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlNotIn(List<String> values) {
            addCriterion("ParamVidioURL not in", values, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlBetween(String value1, String value2) {
            addCriterion("ParamVidioURL between", value1, value2, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamvidiourlNotBetween(String value1, String value2) {
            addCriterion("ParamVidioURL not between", value1, value2, "paramvidiourl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlIsNull() {
            addCriterion("ParamImageURL is null");
            return (Criteria) this;
        }

        public Criteria andParamimageurlIsNotNull() {
            addCriterion("ParamImageURL is not null");
            return (Criteria) this;
        }

        public Criteria andParamimageurlEqualTo(String value) {
            addCriterion("ParamImageURL =", value, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlNotEqualTo(String value) {
            addCriterion("ParamImageURL <>", value, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlGreaterThan(String value) {
            addCriterion("ParamImageURL >", value, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlGreaterThanOrEqualTo(String value) {
            addCriterion("ParamImageURL >=", value, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlLessThan(String value) {
            addCriterion("ParamImageURL <", value, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlLessThanOrEqualTo(String value) {
            addCriterion("ParamImageURL <=", value, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlLike(String value) {
            addCriterion("ParamImageURL like", value, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlNotLike(String value) {
            addCriterion("ParamImageURL not like", value, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlIn(List<String> values) {
            addCriterion("ParamImageURL in", values, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlNotIn(List<String> values) {
            addCriterion("ParamImageURL not in", values, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlBetween(String value1, String value2) {
            addCriterion("ParamImageURL between", value1, value2, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andParamimageurlNotBetween(String value1, String value2) {
            addCriterion("ParamImageURL not between", value1, value2, "paramimageurl");
            return (Criteria) this;
        }

        public Criteria andSdata1IsNull() {
            addCriterion("sdata1 is null");
            return (Criteria) this;
        }

        public Criteria andSdata1IsNotNull() {
            addCriterion("sdata1 is not null");
            return (Criteria) this;
        }

        public Criteria andSdata1EqualTo(String value) {
            addCriterion("sdata1 =", value, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1NotEqualTo(String value) {
            addCriterion("sdata1 <>", value, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1GreaterThan(String value) {
            addCriterion("sdata1 >", value, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1GreaterThanOrEqualTo(String value) {
            addCriterion("sdata1 >=", value, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1LessThan(String value) {
            addCriterion("sdata1 <", value, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1LessThanOrEqualTo(String value) {
            addCriterion("sdata1 <=", value, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1Like(String value) {
            addCriterion("sdata1 like", value, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1NotLike(String value) {
            addCriterion("sdata1 not like", value, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1In(List<String> values) {
            addCriterion("sdata1 in", values, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1NotIn(List<String> values) {
            addCriterion("sdata1 not in", values, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1Between(String value1, String value2) {
            addCriterion("sdata1 between", value1, value2, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata1NotBetween(String value1, String value2) {
            addCriterion("sdata1 not between", value1, value2, "sdata1");
            return (Criteria) this;
        }

        public Criteria andSdata2IsNull() {
            addCriterion("sdata2 is null");
            return (Criteria) this;
        }

        public Criteria andSdata2IsNotNull() {
            addCriterion("sdata2 is not null");
            return (Criteria) this;
        }

        public Criteria andSdata2EqualTo(String value) {
            addCriterion("sdata2 =", value, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2NotEqualTo(String value) {
            addCriterion("sdata2 <>", value, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2GreaterThan(String value) {
            addCriterion("sdata2 >", value, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2GreaterThanOrEqualTo(String value) {
            addCriterion("sdata2 >=", value, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2LessThan(String value) {
            addCriterion("sdata2 <", value, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2LessThanOrEqualTo(String value) {
            addCriterion("sdata2 <=", value, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2Like(String value) {
            addCriterion("sdata2 like", value, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2NotLike(String value) {
            addCriterion("sdata2 not like", value, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2In(List<String> values) {
            addCriterion("sdata2 in", values, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2NotIn(List<String> values) {
            addCriterion("sdata2 not in", values, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2Between(String value1, String value2) {
            addCriterion("sdata2 between", value1, value2, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata2NotBetween(String value1, String value2) {
            addCriterion("sdata2 not between", value1, value2, "sdata2");
            return (Criteria) this;
        }

        public Criteria andSdata3IsNull() {
            addCriterion("sdata3 is null");
            return (Criteria) this;
        }

        public Criteria andSdata3IsNotNull() {
            addCriterion("sdata3 is not null");
            return (Criteria) this;
        }

        public Criteria andSdata3EqualTo(String value) {
            addCriterion("sdata3 =", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3NotEqualTo(String value) {
            addCriterion("sdata3 <>", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3GreaterThan(String value) {
            addCriterion("sdata3 >", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3GreaterThanOrEqualTo(String value) {
            addCriterion("sdata3 >=", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3LessThan(String value) {
            addCriterion("sdata3 <", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3LessThanOrEqualTo(String value) {
            addCriterion("sdata3 <=", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3Like(String value) {
            addCriterion("sdata3 like", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3NotLike(String value) {
            addCriterion("sdata3 not like", value, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3In(List<String> values) {
            addCriterion("sdata3 in", values, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3NotIn(List<String> values) {
            addCriterion("sdata3 not in", values, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3Between(String value1, String value2) {
            addCriterion("sdata3 between", value1, value2, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata3NotBetween(String value1, String value2) {
            addCriterion("sdata3 not between", value1, value2, "sdata3");
            return (Criteria) this;
        }

        public Criteria andSdata4IsNull() {
            addCriterion("sdata4 is null");
            return (Criteria) this;
        }

        public Criteria andSdata4IsNotNull() {
            addCriterion("sdata4 is not null");
            return (Criteria) this;
        }

        public Criteria andSdata4EqualTo(String value) {
            addCriterion("sdata4 =", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4NotEqualTo(String value) {
            addCriterion("sdata4 <>", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4GreaterThan(String value) {
            addCriterion("sdata4 >", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4GreaterThanOrEqualTo(String value) {
            addCriterion("sdata4 >=", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4LessThan(String value) {
            addCriterion("sdata4 <", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4LessThanOrEqualTo(String value) {
            addCriterion("sdata4 <=", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4Like(String value) {
            addCriterion("sdata4 like", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4NotLike(String value) {
            addCriterion("sdata4 not like", value, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4In(List<String> values) {
            addCriterion("sdata4 in", values, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4NotIn(List<String> values) {
            addCriterion("sdata4 not in", values, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4Between(String value1, String value2) {
            addCriterion("sdata4 between", value1, value2, "sdata4");
            return (Criteria) this;
        }

        public Criteria andSdata4NotBetween(String value1, String value2) {
            addCriterion("sdata4 not between", value1, value2, "sdata4");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("Remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("Remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("Remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("Remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("Remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("Remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("Remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("Remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("Remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("Remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("Remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("Remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("Remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("Remark not between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andAdminidIsNull() {
            addCriterion("AdminID is null");
            return (Criteria) this;
        }

        public Criteria andAdminidIsNotNull() {
            addCriterion("AdminID is not null");
            return (Criteria) this;
        }

        public Criteria andAdminidEqualTo(Long value) {
            addCriterion("AdminID =", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotEqualTo(Long value) {
            addCriterion("AdminID <>", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidGreaterThan(Long value) {
            addCriterion("AdminID >", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidGreaterThanOrEqualTo(Long value) {
            addCriterion("AdminID >=", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidLessThan(Long value) {
            addCriterion("AdminID <", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidLessThanOrEqualTo(Long value) {
            addCriterion("AdminID <=", value, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidIn(List<Long> values) {
            addCriterion("AdminID in", values, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotIn(List<Long> values) {
            addCriterion("AdminID not in", values, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidBetween(Long value1, Long value2) {
            addCriterion("AdminID between", value1, value2, "adminid");
            return (Criteria) this;
        }

        public Criteria andAdminidNotBetween(Long value1, Long value2) {
            addCriterion("AdminID not between", value1, value2, "adminid");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("CreateTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("CreateTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("CreateTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CreateTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("CreateTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("CreateTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("CreateTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("CreateTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("CreateTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("CreateTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("UpdateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("UpdateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("UpdateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UpdateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("UpdateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("UpdateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("UpdateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("UpdateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("UpdateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("UpdateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}